package com.mt.skyhoist.util;


import android.content.Context;
import android.content.res.Configuration;

public class DarkModel {

    public static boolean isDarkModel(Context context) {
        int mode = context.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
        return mode == Configuration.UI_MODE_NIGHT_YES;
    }

}
